<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<% response.setContentType("text/html; charset=utf-8");%>
<% response.setHeader("Cache-Control", "no-cache");%>
<% response.setHeader("Pragma", "no-cache");%>
<% response.setCharacterEncoding("utf-8");%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="icon" type="image/vnd.microsoft.icon" href="<s:url value="/themes/default/images/loan.ico"/>"/>
    <meta http-equiv="Content-Type"         content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type"   content="text/css" />
    <meta http-equiv="Pragma"               content="no-cache" /> 
    <meta http-equiv="Expires"              content="Thu, 01 Jan 1970 00:00:00 GMT" /> 
    <meta http-equiv="cache-control"        content="no-cache" />
    <script type="text/javascript">
    </script>
    <title>出错啦!</title>
</head>
<body>
	<s:if test='hasActionMessages()'>
		<h1>服务器返回的信息：</h1>
		<s:iterator value="actionMessages" status="rows">
			<s:property escape="false"/><br/>
		</s:iterator>
	</s:if>
	<s:if test='hasActionErrors()'>
		<h1>服务器返回的错误信息：</h1>
		<s:iterator value="actionErrors" status="rows">
			<s:property escape="false"/><br/>
		</s:iterator>
	</s:if>
	<s:if test='hasFieldErrors()'>
		<h1>服务器字段校验错误：</h1>
		<s:iterator value="fieldErrors" status="rows">
			<s:property escape="false"/><br/>
		</s:iterator>
	</s:if>
	<s:else>
		<h1>出错，可能的原因如下：</h1>
		<ul>
			<li>操作错误</li>
			<li>请求的资源不存在</li>
			<li>传递的参数错误</li>
			<li>需要登录到系统</li>
		</ul>
	</s:else>
</body>
</html>